﻿/*************************************************************
 * Software of blackcore
 *
 * CLRVersion:4.0.30319.296
 * MachineName:SPACE
 * Author:Andy Huang
 * Email:itblackhole@gmail.com
 * DateTime：5/17/2013 1:58:44 PM
 * Function：
 *************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SobFS.Common
{
    public class SobFSConst
    {
        /// <summary>
        /// session
        /// <para>登录界面验证码</para>
        /// </summary>
        public const string SESSION_CAPTCHA = "SOBFS_session_captcha";

        /// <summary>
        /// session
        /// <para>登录后台用户对象</para>
        /// </summary>
        public const string SESSION_BACKEND_USER = "SOBFS_session_backend_loginuser";


        /// <summary>
        /// cookie:记住用户名
        /// </summary>
        public const string COOKIE_BACKEND_REMEMBERUSERNAME = "SOBFS_cookie_backend_rememberloginname";
        /// <summary>
        /// cookie:后台登录用户名        
        /// </summary>
        public const string COOKIE_BACKEND_USERNAME = "SOBFS_cookie_backend_loginname";
        /// <summary>
        /// cookie:后台登录密码
        /// </summary>
        public const string COOKIE_BACKEND_USERPASSWORD = "SOBFS_cookie_backend_loginpassword";



        /// <summary>
        /// 程序集版本
        /// </summary>
        public const string ASSEMBLY_VERSION = "0.0.0.1";

        /// <summary>
        /// 加密及其Cookie时使用
        /// </summary>
        public const string KEY_PASSWORD = "SobFS";

        /// <summary>
        /// 菜单类型
        /// </summary>
        public enum MenuType
        {
            /// <summary>
            /// 平台
            /// </summary>
            Platform,
            /// <summary>
            /// 插件
            /// </summary>
            Plug,
            /// <summary>
            /// CMS
            /// </summary>
            Cms
        }


    }
}
